package cn.yuemouren.security.core.social.qq.connect;

import cn.yuemouren.security.core.social.qq.api.QQ;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

/**
 * @Author: Timi
 * @Description: QQ连接工厂
 * @Date: 2020/6/26 15:18
 * @Version: v1.0
 */
public class QQConnectionFactory extends OAuth2ConnectionFactory<QQ> {

    public QQConnectionFactory(String providerId,String appId,String appSecret) {
        super(providerId,new QQServiceProvider(appId,appSecret),new QQAdapter());
    }
}
